#pragma once
#include <cocos2d.h>

USING_NS_CC;

class LevelConfig : public CCObject
{
public:
	LevelConfig(void);
	~LevelConfig(void);

	void loadConfig();
	void clearConfig();
	int getLevelByExp(int exp);

	CC_SYNTHESIZE_RETAIN(CCArray*, _listLevel, Levels);

	static LevelConfig* _instance;
	static LevelConfig* sharedLevelConfig();
};